/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Helper;

import java.io.Serializable;

/**
 *
 * @author Randall Chia
 */




public class Helper_LineItem implements Serializable{
    
    private long item_ID;       //The primary key of the item 
    private String item_name;   //The string name of the item
    private int item_quantity; 
    private double item_price;
    private String seller;      //The primary key of the Stakeholder who is selling the item
    private long item_outletID; //The ID of the outlet that sold the item, if any
    private String item_outletName; //the outlet name
    
    public Helper_LineItem(){}
    
    
    public Helper_LineItem(
             long item_ID,
             String item_name,
             int item_quantity,
             double item_price,
             String seller,
             long item_outletID,
             String item_outletName
            ){
        this.item_ID = item_ID;
        this.item_name = item_name;
        this.item_quantity = item_quantity;
        this.item_price = item_price;
        this.seller = seller;
        this.item_outletID = item_outletID;
        this.item_outletName = item_outletName;
    }


    @Override
    public String toString(){
        return "[" + item_ID + "-----" + item_name + "-----" + item_quantity + "-----$" + item_price + "-----" + seller + "-----" + item_outletName +"]";
    }

    /**
     * @return the item_ID
     */
    public long getItem_ID() {
        return item_ID;
    }

    /**
     * @param item_ID the item_ID to set
     */
    public void setItem_ID(long item_ID) {
        this.item_ID = item_ID;
    }

    /**
     * @return the item_name
     */
    public String getItem_name() {
        return item_name;
    }

    /**
     * @param item_name the item_name to set
     */
    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    /**
     * @return the item_quantity
     */
    public int getItem_quantity() {
        return item_quantity;
    }

    /**
     * @param item_quantity the item_quantity to set
     */
    public void setItem_quantity(int item_quantity) {
        this.item_quantity = item_quantity;
    }

    /**
     * @return the item_price
     */
    public double getItem_price() {
        return item_price;
    }

    /**
     * @param item_price the item_price to set
     */
    public void setItem_price(double item_price) {
        this.item_price = item_price;
    }

    /**
     * @return the seller
     */
    public String getSeller() {
        return seller;
    }

    /**
     * @param seller the seller to set
     */
    public void setSeller(String seller) {
        this.seller = seller;
    }

    /**
     * @return the item_outletID
     */
    public long getItem_outletID() {
        return item_outletID;
    }

    /**
     * @param item_outletID the item_outletID to set
     */
    public void setItem_outletID(long item_outletID) {
        this.item_outletID = item_outletID;
    }

    /**
     * @return the item_outletName
     */
    public String getItem_outletName() {
        return item_outletName;
    }

    /**
     * @param item_outletName the item_outletName to set
     */
    public void setItem_outletName(String item_outletName) {
        this.item_outletName = item_outletName;
    }
    
    
    
    
    
    
    
}
